// render.jsx
import { defineComponent } from 'vue'

export default defineComponent({
  props:['click'],
  setup(props) {
    function onClick() {
        const { click } = props
        click && click();
    }
    const render = () => {
        return <div className="heartWrapper">
            <div className="heart" onClick={onClick}></div>
            <div className="heart bounce" onClick={onClick}></div>
        </div>
    }
    return render
  }
})
